import service from "@/utils/request";

/**
 * 用户信息,登录状态等获取
*/

export function phoneLogin(params:Object){
    return service({
        method:'GET',
        url:'/login/cellphone',
        params
    })
}

// 获取验证码
export function getCaptcha(params:Object){
    return service({
        method:'GET',
        url:'/captcha/sent',
        params
    })
}
// 检查验证码
export function Checkcaptcha(params:Object){
    return service({
        method:'GET',
        url:'/captcha/verify',
        params
    })
}
